package xyz.chenyongpeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import xyz.chenyongpeng.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品类型
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="ZsGoodsType对象", description="商品类型")
public class ZsGoodsType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品类型主键")
    @TableId(value = "gt_id", type = IdType.AUTO)
    private Integer gtId;

    @ApiModelProperty(value = "商品类型名称")
    private String gtTitle;

    @ApiModelProperty(value = "0 没删 1删除")
    private Boolean isDelete;

    @ApiModelProperty(value = "记录属性的表的名称 ")
    private String tblName;

    @ApiModelProperty(value = "是否允许删除")
    private Boolean delAllow;


}
